package com.ctshk.rpc.order.goods.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * <p>
 * 核销记录表
 * </p>
 *
 * @author 姜斌文
 * @since 2021-04-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_write_off_record")
@ApiModel(value="WriteOffRecord对象", description="核销记录表")
public class WriteOffRecord extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "核销单号")
    private String writeOffOrderNumber;

    @ApiModelProperty(value = "核销用户id")
    private Long writeOffUserId;

    @ApiModelProperty(value = "核销用户名称")
    private String writeOffUserName;

    @ApiModelProperty(value = "供应商ID")
    private Long supplierId;

    @ApiModelProperty(value = "供应商名称")
    private String supplierName;

    @ApiModelProperty(value = "核销码")
    private String writeOffNumber;

    @ApiModelProperty(value = "商品明细:组合字段：商品名称+旅客类型(规格)")
    private String writeOffDetails;

    @ApiModelProperty(value = "核销类型：1-商品核销(该核销方式暂时不做)；2-订单核销")
    private Integer writeOffType;

    @ApiModelProperty(value = "订单表id")
    private Long orderNumberId;

    @ApiModelProperty(value = "订单表订单号")
    private String orderNumber;

    @ApiModelProperty(value = "核销时间")
    private LocalDateTime writeOffTime;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "删除标识")
    private Integer isDeleted;


}
